package com.yf.zzmusic.exception;

import lombok.Data;

/**
 * 继承运行异常,
 * 自定义异常
 */
@Data
public class ServiceException extends RuntimeException{
    private Integer code;
    public ServiceException(Integer code,String msg){
        super(msg);
        this.code=code;
    }
}
